package com.five.wisdomClass.service.impl;

import com.five.wisdomClass.entity.Academy;
import com.five.wisdomClass.mapper.AcademyMapper;
import com.five.wisdomClass.service.IAcademyService;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class AcademyServiceImpl implements IAcademyService {
    @Autowired
    AcademyMapper academyMapper;

    @Override
    public List<Academy> getAcademyStudents() {
        return academyMapper.getAcademyStudents();
    }
}
